package com.ruoyi.sale.service;

import java.util.List;
import com.ruoyi.sale.domain.SaleDeliveryItem;

/**
 * 销售订单发货明细Service接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface ISaleDeliveryItemService 
{
    /**
     * 查询销售订单发货明细
     * 
     * @param deliveryItemId 销售订单发货明细主键
     * @return 销售订单发货明细
     */
    public SaleDeliveryItem selectSaleDeliveryItemByDeliveryItemId(Long deliveryItemId);

    /**
     * 查询销售订单发货明细列表
     * 
     * @param saleDeliveryItem 销售订单发货明细
     * @return 销售订单发货明细集合
     */
    public List<SaleDeliveryItem> selectSaleDeliveryItemList(SaleDeliveryItem saleDeliveryItem);

    /**
     * 新增销售订单发货明细
     * 
     * @param saleDeliveryItem 销售订单发货明细
     * @return 结果
     */
    public int insertSaleDeliveryItem(SaleDeliveryItem saleDeliveryItem);

    /**
     * 修改销售订单发货明细
     * 
     * @param saleDeliveryItem 销售订单发货明细
     * @return 结果
     */
    public int updateSaleDeliveryItem(SaleDeliveryItem saleDeliveryItem);

    /**
     * 批量删除销售订单发货明细
     * 
     * @param deliveryItemIds 需要删除的销售订单发货明细主键集合
     * @return 结果
     */
    public int deleteSaleDeliveryItemByDeliveryItemIds(String deliveryItemIds);

    /**
     * 删除销售订单发货明细信息
     * 
     * @param deliveryItemId 销售订单发货明细主键
     * @return 结果
     */
    public int deleteSaleDeliveryItemByDeliveryItemId(Long deliveryItemId);
}
